package com.huqingshan.LenMore.model.enums;

import lombok.Data;

/**
 * 支付方式
 */
public enum PAYTYPE {
    ALIPAY(0,"支付宝"),
    WECHAT(1,"微信支付"),
    OTHER(2,"其它方式");

    private int code;
    private String payDescription;

    private PAYTYPE(int code,String payDescription){
        this.code = code;
        this.payDescription = payDescription;
    }

    public int getCode(){
        return code;
    }

    public String getPayDescription(){
        return payDescription;
    }

}
